﻿<Window x:Class="KTVConsole2.UI.WindowSongPlayed"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="WindowSongPlayed" xmlns:my="clr-namespace:KTVConsole2.UI"
        Width="870" FontSize="24" WindowState="Maximized">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="50" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,12,12,0">
            <Button Content="保存" Name="BtnSave" Width="100" Click="BtnSave_Click"/>
            <Button Content="返回" IsCancel="True" Width="100"></Button>
            
        </StackPanel>
        <TabControl Grid.Row="1" Margin="12" Name="tabControl1" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
            <TabItem Header="最流行歌曲" Name="TabItemSong">
                <Grid>
                    <my:UserControlSongPlayedDisplayBySong HorizontalAlignment="Stretch" x:Name="userControlSongPlayedDisplayBySong1" VerticalAlignment="Top" Grid.Row="1"/>
                </Grid>
            </TabItem>
            <TabItem Header="最受欢迎歌星" Name="TabItemStar">
                <Grid>
                    <my:UserControlSongPlayedDisplayByStar HorizontalAlignment="Left" x:Name="userControlSongPlayedDisplayByStar1" VerticalAlignment="Top"/>
                </Grid>
            </TabItem>
        </TabControl>
    </Grid>
</Window>
